package entity;

/**
 *
 * @author Rafael Kozar
 */
public abstract class Conta implements ContaI{
    
    public double saldo;
    public int tipo;

    public double getSaldo() {
        return saldo;
    }

    /**
     *
     * @param saldo
     */
    public void setSaldo(double saldo) {
        this.saldo = saldo;
    }        
    
    
    public boolean deposita (double valor) {
        if (valor > 0) {
            return true;
        } else {
           return false; 
        }        
    }
    
    public boolean saca (double valor) {
        if (valor > 0) {
            return true;
        } else {
           return false; 
        }        
    }
    @Override
    public Cliente getDono() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int getNumero() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
    @Override
            public void remunera() {
                throw new UnsupportedOperationException("Not supported yet.");
    }
}
